package com.li.manage.service;

import java.util.List;

import com.li.manage.model.User;
import com.li.manage.query.UserQuery;

public interface UserService {

	String login(String loginName, String loginPassword);

	User getUserByLoginName(String loginName);

	List<User> getUserList(UserQuery userQuery);

	User getUserByCode(String code);

	String getMaxCode();

	void addUser(User user);

	void updateByCode(User user);

	void deleteUserByCode(String code);

}
